package com.kata.chapter3;

/**
 * Created by Solidsnake on 2014/11/16.
 */
public class BenZCarFactory implements AbstractCarFactory {
    @Override
    public SportsCar getSportCar() {
        BenZSports benZSports = new BenZSports();
        benZSports.setName("我是奔驰跑车, 造型炫酷");
        benZSports.setRapidDriving("正在以190km/h 急速奔驰中...");
        return benZSports;
    }

    @Override
    public BusinessCar getBusinessCar() {
        BenZBusiness benZBusiness = new BenZBusiness();
        benZBusiness.setName("我是奔驰商务车, 要的就是安全稳定!");
        benZBusiness.setDriving("虽然不是商务车里最快的, 但是是最安全稳定的");
        return benZBusiness;
    }
}
